	<fieldset>
	<legend>Login</legend>
  
  <?php
    echo form_open('main/login_validation');
    
    echo validation_errors();
    
    echo "<p><label>Email:</label>";
    echo form_input('email', $this->input->post('email'));
    echo "</p>";
    
    echo "<p><label>Heslo:</label>";
    echo form_password('password');
    echo "</p>";
    
    echo "<p><label></label>";
    echo form_submit('login_submit','login');
    echo "</p>";
    
    echo form_close();
  	echo "<p><label></label>";
  ?><a href='<?php echo base_url()."main/signup"; ?>'><button>Registrácia!</button></a>
  </p>
</fieldset>